/**
 * 
 */
package com.witframework.meta;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;

import org.springmodules.validation.bean.conf.loader.annotation.handler.Length;

import com.witframework.core.annotations.Wit;

/**
 * 服务的元数据描述
 * @author wuxinyang
 * Jun 5, 2009 3:38:52 PM
 * 
 */

@Entity @Table(name="Meta_Service") @Wit(cnname = "服务的元数据")
public class MetaService extends BaseMetaObject{	
	
	@NotNull @Length(max=255) @Wit(cnname="类名", description="类的限定名")
	private String className;
	
	@NotNull @Length(max=255) @Wit(cnname="spring bean name", description="Spring名")
	private String springName;
	
	@NotNull @Length(max=255) @Wit(cnname="接口名称", description="接口名称")
	private String interfaceClassName;
	
	@Column(length=255) @Length(max=255) @NotNull	@Wit(cnname="实体的类名", description="定义对应的实体类名")
	private String entityClassName;
	
	@Column(length=255) @Length(max=255) @Wit(cnname="DAO的Spring名", description="定义对应DAOSpring名")
	private String daoSpringName;
	
	public String getClassName() {
		return className;
	}


	public void setClassName(String className) {
		this.className = className;
	}


	public String getSpringName() {
		return springName;
	}


	public void setSpringName(String springName) {
		this.springName = springName;
	}


	public String getInterfaceClassName() {
		return interfaceClassName;
	}


	public void setInterfaceClassName(String interfaceClassName) {
		this.interfaceClassName = interfaceClassName;
	}


	public String getEntityClassName() {
		return entityClassName;
	}


	public void setEntityClassName(String entityClassName) {
		this.entityClassName = entityClassName;
	}


	public String getDaoSpringName() {
		return daoSpringName;
	}


	public void setDaoSpringName(String daoSpringName) {
		this.daoSpringName = daoSpringName;
	}
}
